翻訳と辞書
Words near each other
・ Williamson County, Texas
・ Williamson Creek Greenbelt
・ Williamson Daily News
・ Williamson diamond mine
・ Williamson Dunn
・ Williamson ether synthesis
・ Williamson Evers
・ Williamson Field House
・ Williamson Flat Twin
・ Williamson Free School of Mechanical Trades
・ Williamson Glacier
・ Williamson Glacier Tongue
・ Williamson Hartley Horn
・ Williamson Head
・ Williams' mud turtle
Williams' p + 1 algorithm
・ Williams' Store
・ Williams' Taxonomy
・ Williams's lark
・ Williams, Adams County, Indiana
・ Williams, Arizona
・ Williams, California
・ Williams, Indiana
・ Williams, Iowa
・ Williams, Lawrence County, Indiana
・ Williams, Minnesota
・ Williams, Modoc County, California
・ Williams, Nebraska
・ Williams, Oregon
・ Williams, South Carolina


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Williams' p + 1 algorithm : ウィキペディア英語版
Williams' p + 1 algorithm

In computational number theory, Williams' ''p'' + 1 algorithm is an integer factorization algorithm, one of the family of algebraic-group factorisation algorithms. It was invented by Hugh C. Williams in 1982.
It works well if the number ''N'' to be factored contains one or more prime factors ''p'' such that ''p'' + 1 is smooth, i.e. ''p'' + 1 contains only small factors. It uses Lucas sequences to perform exponentiation in a quadratic field.
It is analogous to Pollard's ''p'' − 1 algorithm.
==Algorithm==

Choose some integer ''A'' greater than 2 which characterizes the Lucas sequence:
:V_0=2, V_1=A, V_j=AV_-V_
where all operations are performed modulo ''N''.
Then any odd prime ''p'' divides \gcd(N,V_M-2) whenever ''M'' is a multiple of p-(D/p), where
D=A^2-4 and
(D/p) is the Jacobi symbol.
We require that (D/p)=-1, that is, ''D'' should be a quadratic non-residue modulo ''p''. But as we don't know ''p'' beforehand, more than one value of ''A'' may be required before finding a solution. If (D/p)=+1, this algorithm degenerates into a slow version of Pollard's p − 1 algorithm.
So, for different values of ''M'' we calculate \gcd(N,V_M-2), and when the result is not equal to 1 or to ''N'', we have found a non-trivial factor of ''N''.
The values of ''M'' used are successive factorials, and V_M is the ''M''-th value of the sequence characterized by V_.
To find the ''M''-th element ''V'' of the sequence characterized by ''B'', we proceed in a manner similar to left-to-right exponentiation:
x=B
y=(B^2-2) mod N
for each bit of M to the right of the most significant bit
if the bit is 1
x=(x
*y-B) mod N
y=(y^2-2) mod N
else
y=(x
*y-B) mod N
x=(x^2-2) mod N
V=x

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Williams' p + 1 algorithm」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.